/* 

404路由

这玩意由于前后端都需要有,所以应当单独弄出来
*/

import { RouteRecordRaw } from 'vue-router';

const not_found: RouteRecordRaw = {
  path: '/404',
  name: 'Notfound',
  component: () =>
    import(/* webpackChunkName: "not-found" */ '@/views/404/index.vue'),
  meta: {
    auth: false,
    title: '页面找不到了',
  },
};
const fallback_route: RouteRecordRaw = {
  name: 'Fallback',
  path: '/:pathMatch(.*)*',
  redirect: '/404',
};

export { not_found, fallback_route };
